<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>首页</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet" type="text/css" href="css/reset.css">
<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="css/main.css">
<link rel="stylesheet" type="text/css" href="css/index.css">
</head>
<body>
<header class="main">
	<div class="header-wrap">		
		<h1 class="title">乐相随</h1>
	</div>
</header>
<div class="main" id="main-container"></div>
<footer id="footer"></footer>
<!-- 轮播广告图 -->
<script type="text/html" id="adv_list">
	<div class="adv_list">
		<div class="swipe-wrap">
		<% for (var i in ad_list) { %>
			<div class="item">
				<a href="<%= ad_list[i].ad_url %>">
					<img src="<%= ad_list[i].ad_img %>" alt="">
				</a>
			</div>
		<% } %>
		</div>
	</div>
</script>
<!-- 分类列表 -->
<script type="text/html" id="class_list">
	<div class="class_list">
		<ul class="content">
		<% for (var i in class_list) { %>
			<li class="item class_li">
				<a href="<%= class_list[i].class_url %>">
					<img src="<%= class_list[i].class_img %>" alt="">
					<h2 class="class_h2"><%= class_list[i].class_name %></h2>
				</a>
			</li>
		<% } %>
		</ul>
	
	</div>
</script>




<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/config.js"></script>
<script type="text/javascript" src="js/zepto.min.js"></script>
<script type="text/javascript" src="js/template.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/swipe.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<script type="text/javascript" src="js/tmpl/footer.js"></script>
</body>
</html>
